Optimal. Leaf size=52 \[ -\frac {2 \sqrt {a x^3+b x^4}}{3 a x^3}+\frac {4 b \sqrt {a x^3+b x^4}}{3 a^2 x^2} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 52, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.105, Rules used = {2041, 2025}
\begin {gather*} \frac {4 b \sqrt {a x^3+b x^4}}{3 a^2 x^2}-\frac {2 \sqrt {a x^3+b x^4}}{3 a x^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2025
Rule 2041
Rubi steps
\begin {align*} \int \frac {1}{x \sqrt {a x^3+b x^4}} \, dx &=-\frac {2 \sqrt {a x^3+b x^4}}{3 a x^3}-\frac {(2 b) \int \frac {1}{\sqrt {a x^3+b x^4}} \, dx}{3 a}\\ &=-\frac {2 \sqrt {a x^3+b x^4}}{3 a x^3}+\frac {4 b \sqrt {a x^3+b x^4}}{3 a^2 x^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 31, normalized size = 0.60 \begin {gather*} -\frac {2 (a-2 b x) (a+b x)}{3 a^2 \sqrt {x^3 (a+b x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.34, size = 48, normalized size = 0.92
method | result | size |
trager | \(-\frac {2 \left (-2 b x +a \right ) \sqrt {b \,x^{4}+a \,x^{3}}}{3 a^{2} x^{3}}\) | \(28\) |
risch | \(-\frac {2 \left (b x +a \right ) \left (-2 b x +a \right )}{3 \sqrt {x^{3} \left (b x +a \right )}\, a^{2}}\) | \(28\) |
gosper | \(-\frac {2 \left (b x +a \right ) \left (-2 b x +a \right )}{3 a^{2} \sqrt {b \,x^{4}+a \,x^{3}}}\) | \(30\) |
default | \(-\frac {2 \sqrt {x \left (b x +a \right )}\, \sqrt {b \,x^{2}+a x}\, \left (-2 b x +a \right )}{3 x \sqrt {b \,x^{4}+a \,x^{3}}\, a^{2}}\) | \(48\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 1.66, size = 29, normalized size = 0.56 \begin {gather*} \frac {2 \, \sqrt {b x^{4} + a x^{3}} {\left (2 \, b x - a\right )}}{3 \, a^{2} x^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{x \sqrt {x^{3} \left (a + b x\right )}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.59, size = 53, normalized size = 1.02 \begin {gather*} \frac {2 \, {\left (3 \, {\left (\sqrt {b} x - \sqrt {b x^{2} + a x}\right )} \sqrt {b} + a\right )}}{3 \, {\left (\sqrt {b} x - \sqrt {b x^{2} + a x}\right )}^{3} \mathrm {sgn}\left (x\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 5.06, size = 42, normalized size = 0.81 \begin {gather*} -\frac {2\,a\,\sqrt {b\,x^4+a\,x^3}-4\,b\,x\,\sqrt {b\,x^4+a\,x^3}}{3\,a^2\,x^3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________